import request from '@/utils/request'

// 查询色谱百年列表
export function listTdmSePuBaiNian(query) {
  return request({
    url: '/tdm/TdmSePuBaiNian/list',
    method: 'get',
    params: query
  })
}

// 查询色谱百年详细
export function getTdmSePuBaiNian(id) {
  return request({
    url: '/tdm/TdmSePuBaiNian/' + id,
    method: 'get'
  })
}

// 新增色谱百年
export function addTdmSePuBaiNian(data) {
  return request({
    url: '/tdm/TdmSePuBaiNian',
    method: 'post',
    data: data
  })
}

// 修改色谱百年
export function updateTdmSePuBaiNian(data) {
  return request({
    url: '/tdm/TdmSePuBaiNian',
    method: 'put',
    data: data
  })
}

// 删除色谱百年
export function delTdmSePuBaiNian(id) {
  return request({
    url: '/tdm/TdmSePuBaiNian/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
